package com.lzclass.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


public class BackMessage {
    private int mid;
    private int aid;
    private int uid;
    private String messageinfo;
    private String messagetime;

    public BackMessage() {
    }

    public BackMessage(int mid, int aid, int uid, String messageinfo, String messagetime) {
        this.mid = mid;
        this.aid = aid;
        this.uid = uid;
        this.messageinfo = messageinfo;
        this.messagetime = messagetime;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getMessageinfo() {
        return messageinfo;
    }

    public void setMessageinfo(String messageinfo) {
        this.messageinfo = messageinfo;
    }

    public String getMessagetime() {
        return messagetime;
    }

    public void setMessagetime(String messagetime) {
        this.messagetime = messagetime;
    }

    @Override
    public String toString() {
        return "BackMessage{" +
                "mid=" + mid +
                ", aid=" + aid +
                ", uid=" + uid +
                ", messageinfo='" + messageinfo + '\'' +
                ", messagetime='" + messagetime + '\'' +
                '}';
    }
}
